package com.bsoft.mvpmy.ui.fastdi;

import android.os.Bundle;
import android.widget.TextView;

import com.bsoft.mvpmy.R;
import com.bsoft.mvpmy.base.BaseActivity;
import com.bsoft.mvpmy.model.ResultBean.FastDi;
import com.bsoft.mvpmy.utils.ToastUtils;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * User: ZRJ
 * Date: 2016/12/1
 * Email: 471564517@qq.com
 * Description:
 */
public class FastDiActivity extends BaseActivity<FastDiContract.Presenter> implements FastDiContract.View {

    @Bind(R.id.tv_1)
    TextView tv1;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_fastdi);
        ButterKnife.bind(this);
        initApi();
        this.createPresenter(new FastdiPresenter(this));
        presenter.fastdidata();

    }


    @Override
    public void fastdiSuccess(FastDi fastDi) {
        ToastUtils.showShort("登录成功"+fastDi.getReason());

    }

    @Override
    public void hideLoading() {

    }
}
